json.result    true
json.message   "获取门店成功."
json.data      @shops do |shop|
  json.id             shop.id
  json.name           shop.name
  json.avatar         shop.avatar.url
  json.big_avatar     shop.big_avatar.url
  json.province       shop.province.blank? ? "" : shop.province.name
  json.city           shop.city.blank? ? "" : shop.city.name
  json.district       shop.district.blank? ? "" : shop.district.name
  json.phone          shop.phone
  json.longitude      shop.longitude
  json.latitude       shop.latitude
  json.distance       shop.get_distance(@location)
  json.stars          shop.stars
  json.intro          shop.intro
  json.direct_sale    shop.direct_sale
end